package com.bootdo.clouddo.dao.juejin;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.bootdo.clouddo.dao.BaseMapper;
import com.bootdo.clouddo.domain.juejin.ArticleCollectionDO;

@Mapper
public interface ArticleCollectionDao extends BaseMapper<ArticleCollectionDO> {
	
	List<ArticleCollectionDO> findByUserId(@Param("userId") Long userId);
	
	ArticleCollectionDO findByUidAndAid(@Param("userId") Long userId, @Param("aId") String aId);
	
	int deleteByUidAndAid(@Param("userId") Long userId, @Param("aId") String aId);

}
